-- GENERATED SPELL FOR [Horde Halaani Guard] --


function spell0_18192(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(23337,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_18192', 620, 1)
end

function Sorts_18192(pUnit, Event)
local choix_sorts_18192 = math.random(0, 0)
if choix_sorts_18192 == 0 then
pUnit:RegisterEvent('spell0_18192', 1, 1)
end
end

function mob18192_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18192', math.random(1500, 3000), 1)
end

function mob18192_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18192_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18192_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18192, 1, 'mob18192_Action')
RegisterUnitEvent(18192, 2, 'mob18192_Leave')
RegisterUnitEvent(18192, 3, 'mob18192_Kill')
RegisterUnitEvent(18192, 4, 'mob18192_Die')
